home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / bbsdoors / sre0990e.zip / UNPACK.EXE / DOCS / RESOURCE.DOC < prev    next >
Text File  |  1993-02-20  |  23KB  |  491 lines

  1.                        ┌────────────────────────┬──────────────────────────┐
  2. ───────────────────────┤                        │                          │
  3.   ─────────────────────┤   SOLAR REALMS ELITE   │  Resource.DAT Reference  │
  4.     ───────────────────┤                        │                          │
  5.       ─────────────────┼────────────────────────┴──────────────────────────┤
  6.         ───────────────┤                                                   │
  7.           ─────────────┤ * Format of the Resource.DAT file                 │
  8.             ───────────┤                                                   │
  9.               ─────────┤ * Different Resource.DAT files for each node      │
  10.                 ───────┤                                                   │
  11.                   ─────┤ * System settings                                 │
  12.                     ───┤                                                   │
  13.                       ─┤ * Game settings                                   │
  14.                        │                                                   │
  15.                        │ * Menu customization                              │
  16.                        │                                                   │
  17.                        │ * Example color / menu customization              │
  18.                        │                                                   │
  19. ───────────────────────┴───────────────────────────────────────────────────┴─
  20.   FORMAT
  21. ─────────────────────────────────────────────────────────────────────────────
  22.  
  23. The Resource.DAT file has on each line a parameter name on the left and
  24. value(s) on the right.
  25.  
  26. Strings (text) should be enclosed in double quotes.
  27.  
  28. Numbers can be put in decimal or hexadecimal.  To enter a hexadecimal value,
  29. prefix the number with '0x'.  (This is the format used by the C programming
  30. language.)  The number 256 can be entered in hex with 0x100.
  31.  
  32. Boolean values can be entered in many ways:
  33.         TRUE can be any of
  34.                 true  t  1  on  yes
  35.         FALSE can be any of
  36.                 false f  0  off  no
  37.  
  38. You can comment out a line by putting ";" as the first character.  SRE will
  39. ignore all lines that don't make sense to it, but they take up memory unless
  40. you put the ";".
  41.  
  42. You can enter any of the Boolean-values resources on the command line.  For
  43. example, if you want to run with Special Effects ON, you can do any of the
  44. following:
  45.  
  46.         SRE /SpecialEffects
  47.         SRE /SpecialEffects=T
  48.         SRE /SpecialEffects=1
  49.         SRE /SpecialEffects=Y
  50.  
  51. If you wanted to turn them OFF, you can do
  52.  
  53.         SRE /NoSpecialEffects
  54.         SRE /SpecialEffects=F
  55.         SRE /SpecialEffects=0
  56.         SRE /SpecialEffects=N
  57.  
  58. ─────────────────────────────────────────────────────────────────────────────
  59.   MULTIPLE RESOURCE FILES
  60. ─────────────────────────────────────────────────────────────────────────────
  61.  
  62. If you have multiple nodes, you may want to have different settings on each
  63. node.  For example, if you have a high speed node 1 and a low speed node 2,
  64. you can create a RESOURCE.DAT with all the common options, and a RESOURCE.1
  65. for node 1 and RESOURCE.2 for node 2.  Then, in your batch file that runs
  66. SRE, you can tell SRE to read the extra Resource file with:
  67.  
  68.         SRE -n1
  69.  
  70. or
  71.  
  72.         SRE -n2
  73.  
  74. Things that you may want to do are turn OFF special effects on high speed
  75. systems and set the locked baud rate.  If you're bored, you can even define
  76. different color sets for each node!
  77.  
  78. ─────────────────────────────────────────────────────────────────────────────
  79.   SYSTEM SETTINGS
  80. ─────────────────────────────────────────────────────────────────────────────
  81.  
  82. CheckTimeLimit : Boolean = no
  83.    Would you like SRE to read the time limit from the doorfile?  SRE
  84.    expects the value in minutes; if your value is in seconds, SRE will
  85.    give your users 60 times as much time as they should have.  I will
  86.    add an option if there is a demand for it to take the value in
  87.    seconds instead of minutes.  DORINFO1.DEF and DOOR.SYS both give
  88.    time values in minutes.
  89.  
  90. LockBaudRate : Number = none
  91.    You should use this to tell SRE at which speed your modem is locked.
  92.    If you ran the INSTALL program, it has set this value for you.
  93.  
  94. ComN : (port) Number (interrupt level) Number
  95.    You can define Com1 through Com8.  Normally, COM1 through COM4 are
  96.    already defined.  You don't have to mess with this unless your COM
  97.    port isn't the standard port 3F8/2F8/3E8/2E8 with IRQ 3/4/3/4.  Example:
  98.               Com7                    0x3E8 4
  99.  
  100. TimeOut : Number = 300 seconds
  101.    This is the number of seconds to wait before printing the warning
  102.    "30 seconds before timeout!".  30 seconds past the amount you specify
  103.    here, SRE will return to the BBS.
  104.  
  105. ExtendedSwapping : Boolean = no
  106.    If this is 'yes', SRE will attempt to swap to extended memory instead
  107.    of disk.  This or ExpandedSwapping will speed up the game a bit.
  108.  
  109. ExpandedSwapping : Boolean = no
  110.    If this is 'yes', SRE will attempt to swap to expanded memory instead
  111.    of disk.  If both Extended and Expanded options are selected, SRE
  112.    will first try extended, and if that fails, it will try expanded.
  113.  
  114. StatusBar.Game.Name : String = ""
  115.    If you want some sort of name to show up on the status bar, put it
  116.    here.  This is so that if you run many games, you can 'name' each one
  117.    so that you'll know which one is running by looking at the status bar.
  118.    For example, if you're running a contest, you could write "Contest"
  119.    in this string to have the status bar display that the game is a contest
  120.    game.
  121.  
  122. StatusBar.Background : Number = 2
  123.    You can change the status bar background color!  I know that the default
  124.    green looks terrible on many systems; the "Display.VGA" makes it more
  125.    readable, but if you don't want to use that option, you can change it
  126.    here.  The background color can be from 1 to 6.  If you try other numbers,
  127.    there will be unpredictable results!
  128.  
  129. Output.Comma : Boolean = yes
  130.    If 'yes', commas are shown for numbers 5 or more digits long.  If 'no',
  131.    no commas are output.  If you wish, you can specify a one-character
  132.    string as a replacement for the comma.  For example, in many countries,
  133.    the convention is to use a period (".") instead of a comma; to do this,
  134.    you can use:
  135.         Output.Comma                    "."
  136.  
  137. Output.Time.Separator : String = ":"
  138.    Time is usually shown as "hh:mm"; you can change this for your country's
  139.    conventions to any other one-character string.
  140.  
  141. Output.Time.24Hour : Boolean = no
  142.    If you set this to 'yes', times will be shown in 24-hour format instead
  143.    of AM/PM format.
  144.  
  145. Output.InternationalAsk : Boolean = no
  146.    If you set this to 'yes', questions will be asked with a '1'/'0'
  147.    response instead of 'Y'/'N', which is usually used in the U.S.  This
  148.    provides the standard international Yes/No question interface rather
  149.    than the English "Yes" vs "No".
  150.  
  151. Display.VGA : Boolean = no
  152.    If 'yes', SRE will change the colors using the VGA's palette switching
  153.    capabilities.  If you don't want the colors changed, or if you are
  154.    running a multitasking system where the change in colors will affect
  155.    other programs on the screen, leave this off.
  156.  
  157. Display.Border : Number (no default)
  158.    If Display.VGA is set to yes, it sets the border color of your screen;
  159.    it will set it to match the status bar unless you set an explicit
  160.    value here.  Note that these numbers are NOT the standard 16; they
  161.    can be any of 64 values (0 through 63) defined by the EGA palette.
  162.    Numbers 0 through 5 are the usual colors, but 6 though 63 are not.
  163.    This allows you to use a "17th" color on your screen, since it doesn't
  164.    have to be one of the standard 16.  For colors 1 through 6, you can
  165.    multiply by 8 to get a darker shade, so if you use one of the colors
  166.    1 through 6 for your status bar, you can have a darker border by
  167.    multiplying by 8 and setting your border color to that number.
  168.  
  169. System.BlankLocalScreen : Boolean = no
  170.    If 'yes', SRE will blank the local screen while a remote user is playing
  171.    the game, so that the sysop won't be able to watch the user play.
  172.  
  173. System.Unregistered : Boolean = no
  174.    If 'yes', it indicates that you do not plan to register this game.
  175.    SRE will no longer display "This game is unregistered" before the
  176.    user returns to the BBS.
  177.  
  178. UserBreak : Boolean = yes
  179.    If 'yes', SRE will allow the user to break out of the program with ^C
  180.    or ^D.  If your users are abusing this feature, you can disable it.
  181.  
  182. System.SaveOften : Boolean = yes
  183.    If 'yes', SRE will save the user's data often.  If 'no', SRE will run
  184.    faster because it won't be saving 20 times a turn.  If you find that
  185.    your users are cheating by hanging up, you may want to turn this on.
  186.  
  187. SpecialEffects : Boolean = on
  188.    For locked baud rates, it's not always good to keep special effects
  189.    (the pause cursor) on, since it might overflow the modem buffer and
  190.    cause sluggish displays for users on at low speed.  You should try
  191.    leaving it on, and if users complain, then turn it off.
  192.  
  193. Display.Video : String = "direct"
  194.    If you set this to "bios", SRE will write to the BIOS instead of to
  195.    the screen.  It makes it "well-behaved" according to DesqView and
  196.    MS-Windows.
  197.  
  198. ANSI : Boolean (or -1) = -1
  199.    The default is -1; if you set 'yes' or 'no', SRE will force ANSI or
  200.    non-ANSI modes.
  201.  
  202. IBMCharacters : Boolean (or -1) = -1
  203.    The default is -1; if you set 'yes' or 'no', SRE will force output
  204.    of IBM characters or output of only the low part of the ASCII set.
  205.    (If you like to experiment, try running with ANSI, but without
  206.    IBMCharacters to see some unusual combinations!)  You may want to
  207.    turn this OFF if you are in a country where the high-ASCII
  208.    characters are not the same as the U.S. high ASCII characters.
  209.  
  210. System.Multitasker : Boolean = false
  211.    If you are running a multitasking system, you may want to _try_ this
  212.    option.  I have not tested it too much, but it is supposed to make the
  213.    game give up CPU cycles to DESQview, MS-Windows, or OS/2.  This should
  214.    speed up the system because it won't be sitting in busy loops waiting
  215.    for input.
  216.  
  217.    Be warned!  This option may not do anything for you!!!  Try it and
  218.    watch to see if it messes anything up!
  219.  
  220. Game.Log : String = none  (filename)
  221.    If you want to record the last user's actions, you can define a LOG
  222.    file.  This will write everything the user does into the file you
  223.    specify.  Each time SRE runs, it will overwrite the previous LOG
  224.    file, so if you wish to preserve them all, you can add to your
  225.    batch file:
  226.                         TYPE logfile.LOG >>allusers.LOG
  227.  
  228. Local : Boolean = off
  229.    If this is 'on', SRE will force local play, regardless of the COM
  230.    port specified in the doorfile.
  231.  
  232. ─────────────────────────────────────────────────────────────────────────────
  233.   GAME SETTINGS
  234. ─────────────────────────────────────────────────────────────────────────────
  235.  
  236. Diplomacy : Boolean = on
  237.    If this is 'off', no diplomacy will be allowed.  Remember that diplomacy
  238.    is required for trading, so trading will be effectively disabled as well.
  239.  
  240. Treaty.Neutrality       : Boolean = on
  241. Treaty.FreeTrade        : Boolean = on
  242. Treaty.MinorAlliance    : Boolean = on
  243. Treaty.ArmedDefense     : Boolean = on
  244. Treaty.CruiserDefense   : Boolean = on
  245. Treaty.Custom           : Boolean = on
  246. Treaty.TotalDefense     : Boolean = on
  247. Treaty.Break            : Boolean = on
  248.    These control which treaty options are allowed.  By default, all of
  249.    them are shown on the menu (they are all 'on').
  250.  
  251. Attacks.Nuclear  : Boolean = yes
  252. Attacks.Chemical : Boolean = yes
  253.    These control (individually) whether nuclear & chemical attacks are
  254.    enabled.  These work ONLY if you are registered.
  255.  
  256. Attacks.Maximum : Number = -1
  257.    This is the number of attacks (other than pirate raids) that a player
  258.    may make in each maintenance interval (usually a day).  -1 is no limit.
  259.  
  260. FoodMarket.Name : String = "the Solar Food Market"
  261.    This is the name of the food market.  It defaults to "the Solar
  262.    Food Market".
  263.  
  264. Messages : Boolean = yes
  265.    If 'no', messages are disabled.
  266.  
  267. Trading : Boolean = yes
  268.    If 'no', trading is disabled.
  269.  
  270. Trade.Expire : Integer = 4
  271.    This is the number of days a trading deal can sit there before being
  272.    sent back to the sender.  This prevents empires from keeping their
  273.    items in a trade deal for a long time, because they don't have to pay
  274.    for maintenance while it's in trading.
  275.  
  276. Scores.File.ANSI : String = "SRESCORES.ANS"
  277. Scores.File.Text : String = "SRESCORES.TXT"
  278.    You can define where to write SRE's score files.  If you set one or both
  279.    to an empty string ( "" ), SRE will not write that score file.
  280.  
  281. DeleteDeadPlayers : Boolean = yes
  282.    If this is 'yes', the maintenance will delete dead and non-active players
  283.    so that your game will not become cluttered with empires.  If you are
  284.    running a tournament, you may wish to set this to 'no' so that players
  285.    that are dead are left on the scores list.
  286.  
  287. InactiveTimeOut : Integer = 10
  288.    This is the number of maintenance intervals for which a player can be
  289.    inactive before getting automatically deleted by SRE.  This prevents
  290.    the game from filling up with players that never play.  After the player
  291.    has not played and maintenance has been run InactiveTimeout times,
  292.    the player is deleted.
  293.  
  294. News.FailedCovertOps : Boolean = true
  295.    If this is 'true', the News Team will report all failed covert operations
  296.    in the News file.  This will allow all players to know who has been
  297.    performing covert ops.  However, it may clutter up your news file, so you
  298.    may want to remove it.
  299.  
  300. News.AttackVictim : Boolean = true
  301.    If this is 'true', the news files will have the name of the person who
  302.    was attacked.  Some sysops do not want this in the news file because
  303.    other players will see that the victim is weak and attack him.  This
  304.    creates the 'vulture syndrome', where all the players attack that empire
  305.    until it collapses.
  306.  
  307. News.PirateRaids : Boolean = false
  308.    If this is 'true', news files will have pirate raids in them.
  309.  
  310. Points.SolarMaster : Number = 5
  311. Points.PlanetMaster : Number = 1
  312. Points.WeaponsMaster : Number = 1
  313.    At the end of each day, the system may pick a "Solar", "Planet", and
  314.    "Weapons" Master.  These are the players with the most score, planets,
  315.    and net worth, respectively.  If you have set up a tournament, the
  316.    player is given points for being a Master for a day.  You can change
  317.    the settings here.  For example, if you wish to base the tournament
  318.    purely on size, you can set the SolarMaster and WeaponsMaster points
  319.    to 0.  At the end of the tournament, the empires are ranked based on
  320.    the number of points they have accumulated.
  321.  
  322. ─────────────────────────────────────────────────────────────────────────────
  323.   MENU CUSTOMIZATION
  324. ─────────────────────────────────────────────────────────────────────────────
  325.  
  326. One new feature of SRE 0.990 is the ability to modify all of the menus!
  327. All of the menu resources have the this format:
  328.  
  329. Menu.«MenuName».Title                        title
  330. Menu.«MenuName».Colors                       (t l b k d c1 c2)
  331. Menu.«MenuName».«Item».Name                  description
  332. Menu.«MenuName».«Item».Colors                (b k d c1 c2)
  333.  
  334. The title and description are strings; the rest are numbers from 1 to 15,
  335. where   t = title
  336.         l = line
  337.         b = brackets
  338.         k = key
  339.         d = description
  340.         c1 = column 1
  341.         c2 = column 2
  342.  
  343. If you set the Menu.«MenuName».Colors, it will be the default color set
  344. for that menu, unless you have defined colors for the menu items, or if
  345. SRE has set colors for an item.  The ordering is:
  346.  
  347.                 SRE's default menu color
  348.                 Your menu color
  349.                 SRE's color for each item [only used on select items]
  350.                 Your color for each item
  351.  
  352. Not all menus have two extra columns; if you define colors for them, they
  353. will be ignored.  If you set the description to "", the menu item will be
  354. accessible but it will not be displayed on the menu.  Some menu items are
  355. invisible, but you can find them below and make them visible by setting
  356. their descriptions to non-empty strings.  (Visit bank and See covert ops)
  357.  
  358. The Menu names and valid item numbers (and actions, where the key pressed
  359. is not the same as the action number) are:
  360.  
  361. System          1 2 3 4 13(Preferences)
  362. Sysop           1 2 3 6 7 10(Empire edit) 11(Player edit) 12(Pirate edit)
  363. Galaxy          1 2 3 4 5 6 7 8 9 10(Join game) 11(Tournament results)
  364. Operations      2 3 4 5 6 7 8 9 10(Advisors) 11(Tax rate) 12(Production)
  365.                 13(Preferences) 14(Instructions) 15(Help) 16(Abdicate)
  366. Preferences     2 3 4 6 7
  367. Production      1 2 3 4 8 9
  368. Diplomacy       1 2 3 4 5 6 7 8 9
  369. Covert          1 2 3 4 5 6 7 8 9 80(Visit bank) 81(See covert ops)
  370. DoubleSpy       1 2 3 80(Visit bank) 99(Quit)
  371. Attack          1(Conventional) 2(Guerilla) 3(Pirate Raid) 4(Spy on Pirates)
  372.                 5(Nuclear) 6(Chemical) 80(Visit bank)
  373. Pirates         1 2 3 4 5 6 7 8 9
  374. PirateSpy       1 2 3 4 5 6 7 8 9 100(Header line)
  375. Buying          1 2 3 4 5 6 7 8 9 100(Header line) 10(Sell) 11(Operations)
  376.                 80(Visit bank) 99(Quit)
  377. Selling         1 2 3 4 6 7 8 9 100(Header line) 10(Buy) 11(Operations)
  378.                 80(Visit bank) 99(Quit)
  379. BuyPlanets      0 1 2 3 4 5 6 7 8 9 (Planets P E T F R O G U S A)
  380. SellPlanets     0 1 2 3 4 5 6 7 8 9 (Planets P E T F R O G U S A)
  381. Trading.Offer   1 2 4 6 7 8 9 100(Header line)
  382. Trading.Demand  1 2 4 6 7 8 9 100(Header line)
  383. Bulletins       [1 through the number of bulletins]
  384. Help            [1 through the number of help topics]
  385.  
  386. The Bulletins and Help menus are special in that
  387.     1   They don't have keys, so the key color and bracket color are
  388.         ignored.
  389.     2   The help topic / bulletin name is column #1, and the number
  390.         is the 'description', so please keep that in mind when
  391.         assigning colors.
  392.  
  393. The Production menu isn't really a menu, but it is displayed as if it
  394. were one, so you can still change the colors.
  395.  
  396. There are over 19 menus and 150 menu items available --- and you can change the
  397. color and text of each one!!!  (Have fun!)
  398.  
  399. ─────────────────────────────────────────────────────────────────────────────
  400.   EXAMPLE OF NEW MENUS
  401. ─────────────────────────────────────────────────────────────────────────────
  402.  
  403. This set of resources will make your SRE game look like BRE!!!
  404.  
  405. ; BRE-Emulator is just a hack right now; in the future, it will
  406. ; be expanded so that you can define your own text substitutions.
  407. ; For example, SRE could be translated to another language by
  408. ; writing text and substitutions that are to be made from English
  409. ; to the other language.
  410. BRE-Emulator                            yes
  411. StatusBar.Background                    1
  412.  
  413. Menu.Galaxy.Title                       "BRE Emulator"
  414. Menu.Galaxy.Colors                      (15 1 1 9 15)
  415. Menu.Galaxy.4.Name                      "Play Game"
  416. Menu.Galaxy.5.Name                      "Empire Status"
  417. Menu.Bulletins.Title                    "List of Bulletins"
  418. Menu.Bulletins.Colors                   (7 1 - - 7 15)
  419. Menu.Diplomacy.Title                    "Diplomacy Menu"
  420. Menu.Diplomacy.Colors                   (15 2 2 10 7)
  421. Menu.Diplomacy.5.Name                   "Tank Defense Plan"
  422. Menu.Diplomacy.7.Name                   "Declaration of War"
  423. Menu.Production.Title                   "Industrial Production"
  424. Menu.Production.Colors                  (15 4 - - 7 14 7)
  425. Menu.Production.1.Name                  "Troops"
  426. Menu.Production.2.Name                  "Jets"
  427. Menu.Production.3.Name                  "Missile Bases"
  428. Menu.Production.4.Name                  "Commanders"
  429. Menu.Production.8.Name                  "Tanks"
  430. Menu.Buying.Title                       "Spending Menu"
  431. Menu.Buying.Colors                      (15 4 4 12 15 14 15)
  432. Menu.Buying.1.Name                      "Troops"
  433. Menu.Buying.2.Name                      "Jets"
  434. Menu.Buying.3.Name                      "Missile Bases"
  435. Menu.Buying.4.Name                      "Commanders"
  436. Menu.Buying.5.Name                      "HeadQuarters"
  437. Menu.Buying.6.Name                      "Regions"
  438. Menu.Buying.8.Name                      "Tanks"
  439. Menu.Buying.10.Name                     "Sell"
  440. Menu.Buying.10.Colors                   (4 12 15 14 15)
  441. Menu.Buying.11.Name                     "System Menu"
  442. Menu.Buying.11.Colors                   (4 12 15 14 15)
  443. Menu.Selling.Title                      "Spending Menu"
  444. Menu.Selling.Colors                     (15 4 4 12 15 14 15)
  445. Menu.Selling.1.Name                     "Troops"
  446. Menu.Selling.2.Name                     "Jets"
  447. Menu.Selling.3.Name                     "Missile Bases"
  448. Menu.Selling.4.Name                     "Commanders"
  449. Menu.Selling.8.Name                     "Tanks"
  450. Menu.Selling.10.Name                    "Sell"
  451. Menu.Selling.10.Colors                  (4 12 15 14 15)
  452. Menu.Selling.11.Name                    "System Menu"
  453. Menu.Selling.11.Colors                  (4 12 15 14 15)
  454. Menu.BuyPlanets.Title                   "Regions"
  455. Menu.BuyPlanets.Colors                  (7 13 5 15 14 15)
  456. Menu.SellPlanets.Title                  "Regions"
  457. Menu.SellPlanets.Colors                 (7 13 5 15 14 15)
  458. Menu.Operations.Title                   "System Menu"
  459. Menu.Operations.Colors                  (15 1 1 9 15)
  460. Menu.Operations.Columns                 1
  461. Menu.Covert.Title                       "Covert Operations"
  462. Menu.Covert.Colors                      (15 3 3 11 15 7)
  463. Menu.Attack.Title                       "Attack Menu"
  464. Menu.Attack.Colors                      (14 6 6 15 7)
  465. Menu.Pirates.Title                      "Select Pirate Team"
  466. Menu.Pirates.Colors                     (15 8 7 15)
  467. Menu.Trading.Offer.Title                "Stuff to Send"
  468. Menu.Trading.Offer.Colors               (7 6 6 14 15 12 15)
  469. Menu.Trading.Offer.1.Name               "Troops"
  470. Menu.Trading.Offer.2.Name               "Jets"
  471. Menu.Trading.Offer.3.Name               "Missile Bases"
  472. Menu.Trading.Offer.4.Name               "Commanders"
  473. Menu.Trading.Offer.8.Name               "Tanks"
  474. Menu.Trading.Demand.Title               "Stuff to Demand"
  475. Menu.Trading.Demand.Colors              (7 6 6 14 15 12)
  476. Menu.Trading.Demand.1.Name              "Troops"
  477. Menu.Trading.Demand.2.Name              "Jets"
  478. Menu.Trading.Demand.3.Name              "Missile Bases"
  479. Menu.Trading.Demand.4.Name              "Commanders"
  480. Menu.Trading.Demand.8.Name              "Tanks"
  481. Scores.Colors.Title                     14
  482. Scores.Colors.Line                      6
  483. Scores.Colors.Key                       15
  484. Scores.Colors.Brackets                  6
  485. Scores.Colors.Col0                      7
  486. Scores.Colors.Col1                      14
  487. Scores.Colors.Col2                      15
  488. Scores.Colors.Col3                      4
  489.  
  490.  
  491.